package com.boco.modules.fdoc.web.sigserverpack;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


import com.boco.common.persistence.Page;
import com.boco.common.web.ServletController;

import com.boco.modules.fdoc.model.SigServicepackEntity;
import com.boco.modules.fdoc.service.SigServicepackService;
import com.boco.modules.fdoc.vo.SigServicepackVo;



/**
 * 
 * ClassName: QuerySigServerPackController <br/>
 * Function: 得到所有的签约服务表 <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年9月27日 上午9:03:49 <br/>
 *
 * @author ken
 * @version 
 * @since JDK 1.7+
 */
@Controller
@RequestMapping(value = "/sigserverpack")
public class QuerySigServerPackController extends ServletController{

	@Resource
	SigServicepackService sigServicepackService;
	
	@RequestMapping(value="/getSvsPackList")
	public String getSvsPackList(SigServicepackVo vo,HttpServletRequest request, HttpServletResponse response, Model model){
		Page<SigServicepackEntity> page=new Page<SigServicepackEntity>(request,response);
		SigServicepackEntity entity=new SigServicepackEntity();
		entity.setDelFlag("0");
		page = sigServicepackService.getSigSvsPackInfoList(page, entity);
		request.setAttribute("page", page);
		return "/sigsvspack/sigsvspackmgmt";
	}
		
	}




